SGGetChannelVolume
TheSGGetChannelVolume
function allows the sequence grabber component to determine your channel's sound volume setting.
pascal ComponentResult SGGetChannelVolume (SGChannel c, short *volume);
c
- Identifies the channel connection for this operation.
volume
- Contains a pointer to an integer that is to receive the volume setting of the channel represented as a 16-bit, fixed-point number. The high-order 8 bits contain the integer part of the value; the low-order 8 bits contain the fractional part. Volume values range from -1.0 to 1.0. Negative values play no sound but preserve the absolute value of the volume setting.
SEE ALSO
The sequence grabber component establishes the volume setting by calling theSGSetChannelVolume
function, described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help